package co.edu.usbcali.unidad.modelo.control;

import co.edu.usbcali.unidad.modelo.Rubro;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * interface RubroLogic
 * 
 * @author Zathura Code Generator http://code.google.com/p/zathura
 * 
 */
public interface IRubroLogic {
	public List<Rubro> getRubro() throws Exception;

	public void saveRubro(String rubCodigo, String rubNombre) throws Exception;

	public void deleteRubro(String rubCodigo) throws Exception;

	public void updateRubro(String rubCodigo, String rubNombre)
			throws Exception;

	public Rubro getRubro(String rubCodigo) throws Exception;

	public List<Rubro> findByCriteria(Object[] variables,
			Object[] variablesBetween, Object[] variablesBetweenDates)
			throws Exception;

	public List<Rubro> findPageRubro(String sortColumnName,
			boolean sortAscending, int startRow, int maxResults)
			throws Exception;

	public Long findTotalNumberRubro() throws Exception;
}
